package com.bor.gb.db.repositories;

import com.bor.gb.db.domain.Place;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;

import javax.annotation.Nonnull;

@Component
public interface PlaceRepository extends MongoRepository<Place, String> {
   /*
    Place findByName(String name);
    Place findById(String id);
    */
   Place findByGooglePlaceId(String googlePlaceId);

}
